package com.tj.work.oracletest.common.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 公共返回体
 * @author wujing
 * @date 2019/10/24 15:14
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "PageResVO", description = "分页")
public class PageResDTO<T> {

    @ApiModelProperty("总数")
    private Long total;

    @ApiModelProperty("数据")
    private List<T> rows;

}